package com.zc.domain;

import java.util.Set;

public class ElectricAlarm  {
    private static final long serialVersionUID = -7821013971750290640L;
    private String deviceType;
    private String deviceUuid;
    private String warningType;
    private String warnInfo;
    private String sn;
    private String deviceInde;
    private String warnLevel;
    private String threshold;
    private String actual;
    private Set<String> phoneNumber;
    private Long ruleId;
    private Long tenantId;

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceUuid() {
        return deviceUuid;
    }

    public void setDeviceUuid(String deviceUuid) {
        this.deviceUuid = deviceUuid;
    }

    public String getWarningType() {
        return warningType;
    }

    public void setWarningType(String warningType) {
        this.warningType = warningType;
    }

    public Set<String> getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(Set<String> phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getWarnInfo() {
        return warnInfo;
    }

    public void setWarnInfo(String warnInfo) {
        this.warnInfo = warnInfo;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getDeviceInde() {
        return deviceInde;
    }

    public void setDeviceInde(String deviceInde) {
        this.deviceInde = deviceInde;
    }

    public String getWarnLevel() {
        return warnLevel;
    }

    public void setWarnLevel(String warnLevel) {
        this.warnLevel = warnLevel;
    }

    public String getThreshold() {
        return threshold;
    }

    public void setThreshold(String threshold) {
        this.threshold = threshold;
    }

    public String getActual() {
        return actual;
    }

    public void setActual(String actual) {
        this.actual = actual;
    }

    @Override
    public String toString() {
        return "ElectricAlarm{" +
                "deviceType='" + deviceType + '\'' +
                ", deviceUuid='" + deviceUuid + '\'' +
                ", warningType='" + warningType + '\'' +
                ", warnInfo='" + warnInfo + '\'' +
                ", sn='" + sn + '\'' +
                ", deviceInde='" + deviceInde + '\'' +
                ", warnLevel='" + warnLevel + '\'' +
                ", threshold='" + threshold + '\'' +
                ", actual='" + actual + '\'' +
                '}';
    }

    public Long getRuleId() {
        return ruleId;
    }

    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }

    public ElectricAlarm() {
    }

    public ElectricAlarm(String deviceType, String deviceUuid, String warningType, String warnInfo, String sn, String deviceInde, String warnLevel, String threshold, String actual, Set<String> phoneNumber, Long ruleId, Long tenantId) {
        this.deviceType = deviceType;
        this.deviceUuid = deviceUuid;
        this.warningType = warningType;
        this.warnInfo = warnInfo;
        this.sn = sn;
        this.deviceInde = deviceInde;
        this.warnLevel = warnLevel;
        this.threshold = threshold;
        this.actual = actual;
        this.phoneNumber = phoneNumber;
        this.ruleId = ruleId;
        this.tenantId = tenantId;
    }
}
